package com.ruoyi.user.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.common.base.BaseEntity;

/**
 * 睡眠表 hl_sleep
 * 
 * @author ruoyi
 * @date 2019-01-16
 */
public class Sleep extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键 */
	private Integer id;
	/** 设备编号 */
	private String imei;
	/**  */
	private Date sleepDate;
	/** 总睡眠时间（分钟） */
	private Integer totalCount;
	/** 深度睡眠时间（分钟） */
	private Integer deepCount;
	/** 浅度睡眠时间（分钟） */
	private Integer easyCount;
	/** 熬夜时间（分钟） */
	private Integer lateCount;
	/** 清醒时间（分钟） */
	private Integer wakeCount;
	/**  */
	private String createBy;
	/**  */
	private Date createTime;
	/**  */
	private String updateBy;
	/**  */
	private Date updateTime;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setImei(String imei) 
	{
		this.imei = imei;
	}

	public Integer getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(Integer totalCount) {
		this.totalCount = totalCount;
	}

	public String getImei() 
	{
		return imei;
	}
	public void setSleepDate(Date sleepDate) 
	{
		this.sleepDate = sleepDate;
	}

	public Date getSleepDate() 
	{
		return sleepDate;
	}
	public void setDeepCount(Integer deepCount) 
	{
		this.deepCount = deepCount;
	}

	public Integer getDeepCount() 
	{
		return deepCount;
	}
	public void setEasyCount(Integer easyCount) 
	{
		this.easyCount = easyCount;
	}

	public Integer getEasyCount() 
	{
		return easyCount;
	}
	public void setLateCount(Integer lateCount) 
	{
		this.lateCount = lateCount;
	}

	public Integer getLateCount() 
	{
		return lateCount;
	}
	public void setWakeCount(Integer wakeCount) 
	{
		this.wakeCount = wakeCount;
	}

	public Integer getWakeCount() 
	{
		return wakeCount;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}

	public String getCreateBy() 
	{
		return createBy;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}

	public String getUpdateBy() 
	{
		return updateBy;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imei", getImei())
            .append("sleepDate", getSleepDate())
            .append("deepCount", getDeepCount())
            .append("easyCount", getEasyCount())
            .append("lateCount", getLateCount())
            .append("wakeCount", getWakeCount())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
